include_directories (${CONTROL_LOOP_SOURCE_DIR}/Core) 
include_directories (${CONTROL_LOOP_SOURCE_DIR}/IO)

file(GLOB_RECURSE INCS "*.h" ) 
file(GLOB_RECURSE SRCS "*.cpp") 

#MSVC-project specific folders organization
source_group(Core FILES ${Core_Headers} ${Core_Sources})
source_group(Io FILES ${Io_Headers} ${Io_Sources})
source_group(EntryPoint FILES ${EntryPoint_Sources})

add_executable ( SRCLFDemo ${SRCS} ${INCS} ${Core_Headers} ${Core_Sources} 
				${Io_Headers} ${Io_Sources} ${EntryPoint_Sources} )

## Link libraries
set(BOOST_LIBS date_time system regex log serialization thread log_setup filesystem)
find_package(Boost COMPONENTS ${BOOST_LIBS} REQUIRED)
find_package (Threads)
target_link_libraries(SRCLFDemo ${CMAKE_THREAD_LIBS_INIT}  ${Boost_LIBRARIES})

